/**
 * Created by IntelliJ IDEA.
 * User: abdelkarim
 * Date: 8-Apr-2008
 * Time: 11:28:28 PM
 * To change this template use File | Settings | File Templates.
 */
class Question extends Comment{
    def static  STATUS_DELETED    = -1
    def static  STATUS_PENDDING   = 0
    def static  STATUS_ANSWERED   = 1
    def static  STATUS_DECLINED   = 2

    Person    requester
    Person    requested
    Integer   status

    static constraints = {
        requested(nullable:true)
    }

}